import {EntityId, PageQueryParams} from "kf-web-library";
import {FrontArticle, FrontJournal, User} from "@/services";

export interface FrontAccessPageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  accessBizType?: string;  //AccessBizType
  accessType?: string;  //AccessType
  timeRange?: string[];
  ids?: EntityId[];
}

export interface FrontAccess {
  id: EntityId; //id
  bizType: string; //业务分类
  accessSourceId: string; //访问数据ID
  article: FrontArticle; //article
  journal: FrontJournal; //journal
  //news: News_SimpleDto; //news
  accessType: string; //访问来源
  accessUser: User; //访问用户
  createTime: string; //创建时间
  modifyTime: string; //修改时间
}

